package com.wss.common.wechat.util;

import com.wss.common.wechat.cache.WeChatCache;

/**
 * @author 赵飞
 * @version V1.0
 * @Title: 微信公众平台相关接口
 * @Package com.evermotion.common.wechat.util
 * @Description:
 * @date 2017/8/30
 */
public class WeChatInterfaceUtil {

	//客服消息接口
	private static final String MESSAGE_CUSTOM_SEND = "https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN";

	public static String getMessageCustomSend(String appId) {
		return MESSAGE_CUSTOM_SEND.replace("ACCESS_TOKEN", WeChatCache.getAccessTokenByAppId(appId));
	}
}
